<div id="order-pay-dialog" class="order-pay-dialog-c" style="width:480px;">
	<h3><span id="order-pay-dialog-close" class="close" onclick="return X.boxClose();">Fechar</span></h3>
	<div style="overflow-x:hidden;padding:10px;">
	<table width="96%" align="center" class="coupons-table">
		<tr>
  <td width="80"><b>Oferta: </b></td><td><b>{$team['title']}</b></td></tr>
		<tr>
  <td><b>Oferta iniciada em: </b></td><td>Início: <b>${date('Y-m-d',$team['begin_time'])}</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fim: <b>${date('Y-m-d',$team['end_time'])}</b></td></tr>

		<tr>
  <td><b>Status: </b></td><td><span style="color:#F00;font-weight:bold;">${state_explain($team['state'])}</span></td></tr>
		<tr>
		  <td><b>Quantidade de Compra: </b></td>
  <td>Mínima: {$team['min_number']}&nbsp;&nbsp;&nbsp;&nbsp;Máxima: ${$team['max_number']==0?'Sem limites':$team['max_number']}</td></tr>
		<tr>
		  <td><b>Preço: </b></td>
		  <td>Preço normal: <b>${moneyit($team['market_price'])}</b>&nbsp;Reais&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Preço de Oferta<b>${moneyit($team['team_price'])}</b>&nbsp;Reais</td></tr>
		<tr><th colspan="2"><hr/></th></td>
		<tr>
		  <td><b>Num. Oferta: </b></td>
		  <td>{$team['now_number']}&nbsp;&nbsp;&nbsp;(Cuidado com Fraudes)</td></tr>
		<tr>
		  <td><b>Num. atual: </b></td><td>{$nowcount}&nbsp;&nbsp;&nbsp;( vão comprar)</td></tr>
		<tr>
		  <td><b>Pagamentos Online: </b></td>
	  <td><b>${moneyit($onlinepay)}</b>&nbsp;reais</td></tr>
		<tr>
		  <td><b>Pagos com crédito em conta: </b></td>
		<td><b>${moneyit($creditpay)}</b>&nbsp;reais</td></tr>
		<tr>
		  <td><b>Valor total: </b></td>
		  <td><b>${moneyit($onlinepay+$creditpay)}</b>&nbsp;reais</td></tr>
	<!--{if abs(time()-$team['begin_time'])<86400}-->
		<tr><th colspan="2"><hr/></th></td>
		<tr>
		  <td><b>Assinantes: </b></td>
		  <td>Enviar oferta para assinantes? - (<span id="dialog_subscribe_count_id">0</span>/{$subcount})&nbsp;&nbsp;
		    <input type="button" id="dialog_subscribe_button_id" value="Enviar esta oferta" onclick="if(confirm('Sending email, please be patient? ')){this.disabled=true;return X.misc.noticenext({$team['id']},0);}"/></td></tr>
	<!--{/if}-->
	</table>
	</div>
</div>
